package com.chinaoly.baotou.framework.huawei;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "kerberos")
public class KerberosProperties {

    public static final String KERBEROS_PREFIX = "kerberos";

    private boolean kafkaEnable;
    private boolean esEnable;
    private String conf;
    private String principal;
    private String keytab;
    private String jaasConf;

    private String domainName = "hadoop.hadoop.com";
    private String securityProtocol = "SASL_PLAINTEXT";
    private String kerberosServiceName = "kafka";
}
